package me.xuym.crawler;

import com.cbs.java.component.application.Application;

/**
 * Created by broche on 14/08/2017.
 */
public class Task {
    private Application application;

    public Task(Application application) {
        this.application = application;
    }

    public Application getApplication() {
        return application;
    }

    public Processor process(Processor processor) throws Exception {
        processor.processData(null);
        return processor;
    }
}
